using System;
using System.Collections.Generic;

namespace Data.Models
{
    public partial class Employee
    {
        public Employee()
        {
            this.BillOuts = new List<BillOut>();
            this.BillOuts1 = new List<BillOut>();
            this.Orders = new List<Order>();
            this.Orders1 = new List<Order>();
            this.OrderSummaries = new List<OrderSummary>();
            this.StorageDetails = new List<StorageDetail>();
            this.StorageDetails1 = new List<StorageDetail>();
            this.StorageDetails2 = new List<StorageDetail>();
            this.SubprocessDetails = new List<SubprocessDetail>();
            this.SubprocessDetails1 = new List<SubprocessDetail>();
            this.Purchases = new List<Purchase>();
            this.Purchases1 = new List<Purchase>();
        }

        public int ID { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public string Function { get; set; }
        public string Expertise { get; set; }
        public string Description { get; set; }
        public Nullable<int> LevelID { get; set; }
        public Nullable<int> UnitID { get; set; }
        public virtual ICollection<BillOut> BillOuts { get; set; }
        public virtual ICollection<BillOut> BillOuts1 { get; set; }
        public virtual WorkerLevel WorkerLevel { get; set; }
        public virtual Unit Unit { get; set; }
        public virtual ICollection<Order> Orders { get; set; }
        public virtual ICollection<Order> Orders1 { get; set; }
        public virtual ICollection<OrderSummary> OrderSummaries { get; set; }
        public virtual ICollection<StorageDetail> StorageDetails { get; set; }
        public virtual ICollection<StorageDetail> StorageDetails1 { get; set; }
        public virtual ICollection<StorageDetail> StorageDetails2 { get; set; }
        public virtual ICollection<SubprocessDetail> SubprocessDetails { get; set; }
        public virtual ICollection<SubprocessDetail> SubprocessDetails1 { get; set; }
        public virtual ICollection<Purchase> Purchases { get; set; }
        public virtual ICollection<Purchase> Purchases1 { get; set; }
    }
}
